package com.gxa.community.core.pojo.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author juran
 * @since 2022-07-19
 */
@Data
@Accessors(chain = true)
@TableName("waybill_info")
@ApiModel(value = "WaybillInfo对象", description = "运单信息")
public class WaybillInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("运单号")
    private String no;

    @ApiModelProperty("运单创建时间")
    private Long createTime;

    @ApiModelProperty("发货时间")
    private Long shipTime;

    @ApiModelProperty("司机id")
    private Integer driverId;

    @ApiModelProperty("备注")
    private String tips;

    @ApiModelProperty("运输状态 1待配送 2配送中 3已送达 4已确认收货")
    private Integer status;
}
